<!DOCTYPE html>
<html class="x-admin-sm">
{include file='public/header'}
<script src="/admin/xadmin/lib/layui/upload.js" charset="utf-8"></script>

<body>
    <div class="x-body">
        <form class="layui-form" lay-filter="formAjax">
            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>用户ID
                </label>
                <div class="layui-input-block">
                    <input type="text" name="uid" id="id" placeholder="用户ID" required="required"
                        lay-verify="required" autocomplete="off" disabled class="layui-input" value="" />
                </div>
            </div>

            <div class="layui-form-item" id="moneyBox" style="display: block;">
                <label class="layui-form-label">
                    <span class="x-red">*</span>拉黑原因
                </label>
                <div class="layui-input-block">
                    <input type="text" name="reason" id="reason" placeholder="请填写拉黑原因" 
                    autocomplete="off" class="layui-input" lay-verify="required" required="required" value="" />
                </div>
            </div>

            <button id="submitData" class="layui-btn" lay-submit lay-filter="submitData" style="display: none;" />
        </form>
    </div>
    <script>
        let id = GetQueryString('id')
        let params = {
            editUrl: '/admin/black/addUserBlack',
        }
        form_ajax(params)

        $('#id').val(GetQueryString('id'))
    </script>
</body>

</html>